package com.weakteam.orderonline.dataresource.service;

import com.weakteam.orderonline.dataresource.domain.Goods;

import java.util.List;

/**
 * @author Nail
 */

public interface GoodsService {

    public List<Goods> getAll();

    public List<Goods> getAllEnabled();

    public List<Goods> getAllByMenuId(Integer menuId);

    public List<Goods> getAllEnabledByMenuId(Integer menuId);

    public Goods getById(Integer id);

    public void save(Goods goods);

    public boolean delete(Integer id);

}
